Hello,
my idea is to have a formal module being reloaded by a script to get the latest changes, e. g., when reading in Read Only mode and the module has been updated by somebody else in the background. I do not want to close and reload the module manually because this takes long time and requires to re-create filter etc.
"refresh current" does not do what I want. And closing and reloading the current module is like comitting suicide for the script (with the additionaly drawback to have every setting stored for later restauration).
I have noticed the following: When getting a lock in Shared Edit mode the objects of the section are updated. Is there any means to force Doors to update the objects?
Thanks
hgr00
hgr00 - Wed Jul 29 09:16:12 EDT 2009 |
Re: Reload Module by DXL Script llandale - Wed Jul 29 10:02:16 EDT 2009
You can open the module Edit then downgrade() it, but that won't work if the change user still has it open. You can Share the module, lock/unlock every section, then downgrade it but again that won't work if the other user has it open Edit.
I've noticed in the past that opening it Read again does NOT in fact re-open it (open triggers don't run).
I would not play with the locks: unlocking the other user then opening it Edit yourself.
Don't know what to tell you, sorry.
|